/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.game.entity.notice;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 游戏系统月公告Entity
 * @author 李欣荣
 * @version 2018-10-11
 */
public class HkGameMonthSystemNotice extends DataEntity<HkGameMonthSystemNotice> {
	
	private static final long serialVersionUID = 1L;
	private String imgSrc;		// 图片路径
	private String title;		// 名称
	
	public HkGameMonthSystemNotice() {
		super();
	}

	public HkGameMonthSystemNotice(String id){
		super(id);
	}

	@Length(min=0, max=200, message="图片路径长度必须介于 0 和 200 之间")
	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}
	
	@Length(min=0, max=200, message="名称长度必须介于 0 和 200 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
}